<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('No')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-no"  class="form-control" disabled name="row[no]" type="text" value="{$row.no|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-type"  class="form-control selectpicker" disabled name="row[type]">
                {foreach name="typeList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.type"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Company')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-company"  class="form-control" disabled name="row[company]" type="text" value="{$row.company|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name"  class="form-control" disabled name="row[name]" type="text" value="{$row.name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Phone')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-phone"  class="form-control" disabled name="row[phone]" type="text" value="{$row.phone|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Id_card')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-id_card"  class="form-control" disabled name="row[id_card]" type="text" value="{$row.id_card|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Address')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-address"  class="form-control" disabled name="row[address]" type="text" value="{$row.address|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('R_type')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-r_type"  class="form-control selectpicker" disabled name="row[r_type]">
                {foreach name="rTypeList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.r_type"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('R_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-r_name"  class="form-control" disabled name="row[r_name]" type="text" value="{$row.r_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('R_sex')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-r_sex"  class="form-control selectpicker" disabled name="row[r_sex]">
                {foreach name="rSexList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.r_sex"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('R_job')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-r_job"  class="form-control" disabled name="row[r_job]" type="text" value="{$row.r_job|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('R_phone')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-r_phone"  class="form-control" disabled name="row[r_phone]" type="text" value="{$row.r_phone|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('R_address')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-r_address"  class="form-control" disabled name="row[r_address]" type="text" value="{$row.r_address|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('R_birthplace')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-r_birthplace"  class="form-control" disabled name="row[r_birthplace]" type="text" value="{$row.r_birthplace|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('F_address')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-f_address"  class="form-control" disabled name="row[f_address]" type="text" value="{$row.f_address|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('F_starttime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-f_starttime"  min="0" class="form-control datetimepicker" data-date-format="YYYY" data-use-current="true" disabled name="row[f_starttime]" type="text" value="{:$row.f_starttime?datetime($row.f_starttime,'Y'):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('F_endtime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-f_endtime"  class="form-control datetimepicker" data-date-format="YYYY" data-use-current="true" disabled name="row[f_endtime]" type="text" value="{:$row.f_endtime?datetime($row.f_endtime,'Y'):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('F_isgang')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-f_isgang"  class="form-control selectpicker" disabled name="row[f_isgang]">
                {foreach name="fIsgangList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.f_isgang"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('F_money')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-f_money"  class="form-control" disabled name="row[f_money]" type="text" value="{$row.f_money|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('F_num')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-f_num"  class="form-control selectpicker" disabled name="row[f_num]">
                {foreach name="fNumList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.f_num"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('F_type')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-f_type"  class="form-control selectpicker" multiple="" disabled name="row[f_type]">
                {foreach name="fTypeList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.f_type"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('F_content')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-f_content"  class="form-control editor" rows="5" disabled name="row[f_content]" cols="50">{$row.f_content|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Images')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-images"  class="form-control" size="50" disabled name="row[images]" type="textarea" value="{$row.images|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-images" class="btn btn-danger faupload" data-input-id="c-images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="true" data-preview-id="p-images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-images" class="btn btn-primary fachoose" data-input-id="c-images" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-images"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-images"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Video_images')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-video_images"  class="form-control" size="50" disabled name="row[video_images]" type="textarea" value="{$row.video_images|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-video_images" class="btn btn-danger faupload" data-input-id="c-video_images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="true" data-preview-id="p-video_images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-video_images" class="btn btn-primary fachoose" data-input-id="c-video_images" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-video_images"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-video_images"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Remarks')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-remarks"  class="form-control" name="row[remarks]" type="text" value="{$row.remarks|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
